import PolicyComputeTraditional from "./PolicyCompute_v3.js";
import PolicyComputeExperimental from "./PolicyCompute_v4.js";
import useFlowStore from "@/store/flow.js";
const flowStore = useFlowStore();

export default function (cellData, step = 4) {
  // return PolicyComputeExperimental(cellData, step);
  if (flowStore.useExperimentPolicy) {
    return PolicyComputeExperimental(cellData, step);
  } else {
    return PolicyComputeTraditional(cellData, step);
  }
}
